<template>
  <div class="overview-box">
    <div class="label">{{ overview.label }}</div>
    <div class="value">{{ overview.value }}</div>
  </div>
</template>

<script>
export default {
  name: "OverviewBox",
  props: ["overview"],
};
</script>

<style lang='less' scoped>
.overview-box {
  display: flex;
  width: 100%;
  height: 135px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: #101655;
  margin-bottom: 20px;
  text-align: center;
  border-radius: 15px;
  // box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  .label {
    color: #fff;
    font-size: 24px;
  }
  .value {
    color: #0ee4f9;
    font-size: 36px;
  }
}
</style>